Package com.cisco.pt.ipc.sim.pdu.impl
Class CDPFrameImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.CDPFrameImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Shortprotected Byteprotected List<CDPTypeLengthValue>protected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCdpChecksum(Short cdpChecksum) voidsetCdpHoldTime(Byte cdpHoldTime) voidsetCdpTypeLengthValue(List<CDPTypeLengthValue> cdpTypeLengthValue) voidsetCdpVersion(Byte cdpVersion) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
cdpVersion
-
cdpHoldTime
-
cdpChecksum
-
cdpTypeLengthValue
-
-
Constructor Details
-
CDPFrameImpl
public CDPFrameImpl()
-
-
Method Details
-
getCdpVersion
- Specified by:
getCdpVersionin interfaceCDPFrame- Returns:
- Byte Returns a Byte
-
setCdpVersion
- Specified by:
setCdpVersionin interfaceCDPFrame- Parameters:
cdpVersion- Takes in a parameter of cdpVersion
-
getCdpHoldTime
- Specified by:
getCdpHoldTimein interfaceCDPFrame- Returns:
- Byte Returns a Byte
-
setCdpHoldTime
- Specified by:
setCdpHoldTimein interfaceCDPFrame- Parameters:
cdpHoldTime- Takes in a parameter of cdpHoldTime
-
getCdpChecksum
- Specified by:
getCdpChecksumin interfaceCDPFrame- Returns:
- Short Returns a Short
-
setCdpChecksum
- Specified by:
setCdpChecksumin interfaceCDPFrame- Parameters:
cdpChecksum- Takes in a parameter of cdpChecksum
-
getCdpTypeLengthValue
- Specified by:
getCdpTypeLengthValuein interfaceCDPFrame- Returns:
- List<CDPTypeLengthValue> Returns a List<CDPTypeLengthValue>
-
setCdpTypeLengthValue
- Specified by:
setCdpTypeLengthValuein interfaceCDPFrame- Parameters:
cdpTypeLengthValue- Takes in a parameter of cdpTypeLengthValue
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-